package org.atlantis.evnlib.execution.rejecter;

import java.util.concurrent.BlockingQueue;

/**
 * 当任务被拒绝时的处理程序。
 * 
 * @author <a href="mailto:seenoevil.cn@gmail.com">李曦</a><br/>
 *         Created at: 2011-6-30 下午09:17:18
 */
public interface RejectedTaskHandler {

	boolean rejectedTask(String name, Runnable task, BlockingQueue<Runnable> taskQueue);
}
